import { defineComponent, PropType, ref } from 'vue';
import { IcomName, Icon } from './Icon';
import s from './FloatButton.module.scss';
export const FloatButton = defineComponent({
    props: {
        iconName: {
            type: String as PropType<IcomName>,
            required: true,

        }
    },
    setup: (props, context) => {
        return () => (
            <div class={s.wrapper}>
                <Icon name={props.iconName} class={s.icon} />
            </div>

        );
    }
})